/**
 * Abstrakte Klasse Action - beschreiben Sie hier die Klasse
 * 
 * @author (Ihr Name)
 * @version (eine Version-Nummer oder ein Datum)
 */
public abstract class Action
{
    public abstract void act();
}
class SelectionAction extends Action{
    Board b;
    Button button;
    SelectionAction(Board b)
    {
        this.b = b;
    }
    public void setButton(Button but){
        button = but;
    }
    public void act(){
        b.select(button);
    }
}
class SAAnswer extends Action{
    Board b;
    SAAnswer(Board b){
        this.b = b;
    }
    public void act(){
        b.GiveAnswer();
    }
}
class SAVoting extends Action{
    Board b;
    SAVoting(Board b){
        this.b = b;
    }
    public void act(){
        b.GiveVoting();
    }
}
